package testy;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import poker.PokerException;
import poker.Card;

public class CardTest {

	@Before
	public void setUp() throws Exception {
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test(expected= PokerException.class) 
	public void testCardWrongFigure() throws PokerException {
		Card c = new Card(0,16);
	}

	@Test(expected= PokerException.class) 
	public void testCardWrongSuit() throws PokerException {
		Card c = new Card(8,5);
	}
}
